package me.zhengjie.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("lift_task")
public class LiftTask {

    @TableId(type = IdType.AUTO)
    private Integer id;

    //任务id
    @TableField("task_code")
    private String taskCode;

    //电梯编号
    @TableField("lift_code")
    private String liftCode;

    //起始楼层
    @TableField("start_floor")
    private String startFloor;

    //结束楼层
    @TableField("end_floor")
    private String endFloor;

    //状态
    @TableField("status")
    private String status;

    //创建时间
    @TableField("create_time")
    private LocalDateTime createTime;

    //更新时间
    @TableField("update_time")
    private LocalDateTime updateTime;

    //电梯储位
    @TableField("lift_storage")
    private String liftStorage;
}
